<?php
	$file = $_POST['file'];
	echo $file['fullname'];
	echo $file['dirname'].'/'.$file['newname'];
	rename($file['fullname'],$file['dirname'].'/'.$file['newname']);
?>